Skip to content

Conversation

@eddieran
Copy link

support binance.us

@xyq-c-cpp
Copy link
Collaborator

I don't think this modification is necessary to support it. Just set the value of BaseAPIMainURL or BaseWsMainURL before creating the client. Except in the options module where the associated values are not publicly available, if options support is also required, the associated values can be modified to be publicly visible. @eddieran

@eddieran
Copy link
Author

eddieran commented Jan 3, 2025

I modified it this way with reference to the current support for testnet's domain.

// UseTestnet switch all the API endpoints from production to the testnet
var UseTestnet = false

@xyq-c-cpp
Copy link
Collaborator

@eddieran Take a look at those comments.

@JimBeam2019
Copy link

JimBeam2019 commented May 9, 2025

Can anyone please approve the change on Test Network Websocket URLs? The old domains are no longer supported, and I am receiving 'websocket: bad handshake' error when calling the binance.WsAllMiniMarketsStatServe function which the client does not provide, thanks to this bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants